Class TelephonyServiceImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.TelephonyServiceImpl
All Implemented Interfaces:
IPCObject, TelephonyService

public class TelephonyServiceImpl extends IPCObjectImpl implements TelephonyService
Information provided by the PKI file:

    \class CTelephonyService
    
    \brief CTelephonyService handles and manipulates telephony services.
    
    \example network().getDevice("Router0").getProcess("CMEProcess").getTelephonyService()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setAutoRegistration

      public void setAutoRegistration(boolean bVal)
      Information provided by the PKI file:
      
          \brief Enables or disables auto registration.
          
          \param bVal, true to enable auto registration.
          
              
      Specified by:
      setAutoRegistration in interface TelephonyService
      Parameters:
      bVal - Takes in a parameter of bVal
    • isAutoRegEnabled

      public boolean isAutoRegEnabled()
      Information provided by the PKI file:
      
          \brief Returns true if auto registration is enabled, otherwise false.
          
          \return bool, true if auto registration is enabled, otherwise false.
          
              
      Specified by:
      isAutoRegEnabled in interface TelephonyService
      Returns:
      boolean Returns a boolean
    • setMaxEphone

      public void setMaxEphone(int maxEphNum)
      Information provided by the PKI file:
      
          \brief Sets the maximum number of ephones.
          
          \param maxEphNum, the maximum number of ephones.
          
              
      Specified by:
      setMaxEphone in interface TelephonyService
      Parameters:
      maxEphNum - Takes in a parameter of maxEphNum
    • getMaxEphoneNumber

      public int getMaxEphoneNumber()
      Information provided by the PKI file:
      
          \brief Returns the maximum number of ephones.
          
          \return int, the maximum number of ephones.
          
              
      Specified by:
      getMaxEphoneNumber in interface TelephonyService
      Returns:
      int Returns a int
    • setMaxDnNumber

      public void setMaxDnNumber(int maxDnNum)
      Information provided by the PKI file:
      
          \brief Sets the maximum number of directory numbers.
          
          \param maxDnNum, the maximum number of directory numbers.
          
              
      Specified by:
      setMaxDnNumber in interface TelephonyService
      Parameters:
      maxDnNum - Takes in a parameter of maxDnNum
    • getMaxDnNumber

      public int getMaxDnNumber()
      Information provided by the PKI file:
      
          \brief Returns the maximum number of directory numbers.
          
          \return int, the maximum number of directory numbers.
          
              
      Specified by:
      getMaxDnNumber in interface TelephonyService
      Returns:
      int Returns a int
    • setSourcePort

      public void setSourcePort(int portNum)
      Information provided by the PKI file:
      
          \brief Sets the source port number.
          
          \param portNum, the source port number.
          
              
      Specified by:
      setSourcePort in interface TelephonyService
      Parameters:
      portNum - Takes in a parameter of portNum
    • getSourcePort

      public int getSourcePort()
      Information provided by the PKI file:
      
          \brief Returns the source port number.
          
          \return int, the source port number.
          
              
      Specified by:
      getSourcePort in interface TelephonyService
      Returns:
      int Returns a int
    • setSystemMessage

      public void setSystemMessage(String msg)
      Information provided by the PKI file:
      
          \brief Sets the system message.
          
          \param msg, the system message.
          
              
      Specified by:
      setSystemMessage in interface TelephonyService
      Parameters:
      msg - Takes in a parameter of msg
    • setAutoAssign

      public void setAutoAssign(int startTag, int stopTag)
      Information provided by the PKI file:
      
          \brief Sets the auto assign directory numbers.
          
          \param startTag, the start directory numbers.
          \param stopTag, the stop directory numbers.
          
              
      Specified by:
      setAutoAssign in interface TelephonyService
      Parameters:
      startTag - Takes in a parameter of startTag
      stopTag - Takes in a parameter of stopTag
    • getAutoAssignCount

      public int getAutoAssignCount()
      Information provided by the PKI file:
      
          \brief Returns the number of auto assigned directory numbers.
          
          \return int, the number of auto assigned directory numbers.
          
              
      Specified by:
      getAutoAssignCount in interface TelephonyService
      Returns:
      int Returns a int
    • getAutoAssignStartDnAt

      public int getAutoAssignStartDnAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the auto assigned start directory number at the specified index.
          
          \param index, the index of the auto assigned start directory number of interest.
          
          \returns int, the auto assigned start directory number at the specified index.
          
              
      Specified by:
      getAutoAssignStartDnAt in interface TelephonyService
      Parameters:
      index - Takes in a parameter of index
      Returns:
      int Returns a int
    • getAutoAssignStopDnAt

      public int getAutoAssignStopDnAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the auto assigned stop directory number at the specified index.
          
          \param index, the index of the auto assigned stop directory number of interest.
          
          \returns int, the auto assigned stop directory number at the specified index.
          
              
      Specified by:
      getAutoAssignStopDnAt in interface TelephonyService
      Parameters:
      index - Takes in a parameter of index
      Returns:
      int Returns a int